package cn.edu.scau.cmi.xiaozhenlin.abstractFactoryMethod.factory;

import cn.edu.scau.cmi.xiaozhenlin.abstractFactoryMethod.insurance.PiccCarDamage;
import cn.edu.scau.cmi.xiaozhenlin.abstractFactoryMethod.insurance.PiccPhysicalInjury;
import cn.edu.scau.cmi.xiaozhenlin.abstractFactoryMethod.insurance.PiccScratch;
import cn.edu.scau.cmi.xiaozhenlin.insurance.Insurance;

public class piccFactory extends AbstractFactory {

	@Override
	public Insurance getCarDamage() {
		// TODO 自动生成的方法存根
		return new PiccCarDamage();
	}

	@Override
	public Insurance getPhysicalIujury() {
		// TODO 自动生成的方法存根
		return new PiccPhysicalInjury();
	}

	@Override
	public Insurance getScratch() {
		// TODO 自动生成的方法存根
		return new PiccScratch();
	}

}
